<?php

namespace app\dao\order;

use app\dao\BaseDao;
use app\model\order\OrderBonus;

class OrderBonusDao extends BaseDao
{

    /**
     * 设置模型
     * @return string
     */
    protected function setModel(): string
    {
        return OrderBonus::class;
    }

    public function getModel()
    {
        return app()->make($this->setModel());
    }
}